#============================================================
#	Enemy Blackobard
#============================================================
# @datetime: 2022-4-21 20:19:43
#============================================================
class_name EnemyBlackboard
extends BaseStateBlackboard


func get_host() -> Enemy:
	return owner as Enemy

func get_type_layer() -> EnemyTypeLayer:
	return get_host().type_layer

func has_player() -> bool:
	return get_type_layer().collision.detect_player.has_bodys()


